<template>
	<div class="tan" @click="tan">
		输入有误
	</div>
</template>

<script>
	
	export default {
		name:"tan",
		data(){
			return{
				
			}
		},
		methods:{
			tan:function(){
				$(".tan").css({
						"display":"none",
					});
			}
		},
		mounted(){
			$(function(){
				setTimeout(function(){
					$(".tan").css({
						"display":"none",
					});
				},3000)
			
			})
		}
	}
</script>

<style scoped>
	.tan{
		width: 10rem;
		line-height: 6rem;
		background: lightgray;
		border-radius: 4%;
		text-align: center;
		font-size: 1.5rem;
		
	}
	.tan{
		position: fixed;
		left: 40%;
		top: 50%;
	}
</style>